package org.springblade.modules.admin.dto.plan.score;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2024/1/4 11:22
 */
@Data
public class PlanScoreSearchDTO {


	@ApiModelProperty("工单排期")
	private Date beginCreateTime;
	@ApiModelProperty("工单排期")
	private Date endCreateTime;


	@ApiModelProperty("工单完成开始时间")
	private Date beginPlanTimeFinish;
	@ApiModelProperty("工单完成结束时间")
	private Date endPlanTimeFinish;


	@ApiModelProperty("工单创建-开始时间")
	private Date planCreateBeginTime;
	@ApiModelProperty("工单创建-结束时间")
	private Date planCreateEndTime;


	@ApiModelProperty("开始抽检添加时间")
	private Date beginStoreSpotCheckTime;

	@ApiModelProperty("开始抽检添加时间")
	private Date endStoreSpotCheckTime;

	@ApiModelProperty("工单开始时间")
	private Date beginPlanTime;
	@ApiModelProperty("工单开始结束时间")
	private Date endPlanTime;


	@ApiModelProperty("评分-开始时间")
	private Date scoreBeginTime;
	@ApiModelProperty("评分-结束时间")
	private Date scoreEndTime;

	@ApiModelProperty("项目id")
	private List<Long> buildingIds;

	@ApiModelProperty("电梯id")
	private List<Long> elevatorIds;

	@ApiModelProperty("工单状态")
	private List<Integer> planStatus;

	@ApiModelProperty("计划用户id")
	private List<Long> planUserIds;

	@ApiModelProperty("实际执行人id")
	private List<Long> realUserIds;

	@ApiModelProperty(value = "评分状态 0-未评分，1-已评分")
	private Integer scoreStatus;

	@ApiModelProperty(value = "评分类型1:有效订单，2：无效工单3：无法判断")
	private Integer scoreType;

	@ApiModelProperty("评分人")
	private Long scoreUserId;

	@ApiModelProperty("抽检状态1已抽检0未抽检")
	private Integer scoreSpotCheckType;

	@ApiModelProperty("当前页")
	private Integer current = 1;

	@ApiModelProperty("每页的数量")
	private Integer size = 20;

	@ApiModelProperty("抽检比例")
	private BigDecimal ratio;

	@ApiModelProperty("true手动")
	private Boolean isAuto = true;

	@ApiModelProperty("工单类型")
	private Integer typeStatus;

	@ApiModelProperty("模板id")
	private Long templateId;

	private String wxBuiOrEleName;

	@ApiModelProperty("1:非年审，2:年审")
	private Integer auditType;

	@ApiModelProperty("项目类型")
	private Integer buildingType;


	@ApiModelProperty("紧急程度1:非常紧急2:紧急3:普通4:较低")
	private Integer emerProcType;

	@ApiModelProperty("无效评分类型")
	private List<String>  wxScoreTypes;

	@ApiModelProperty("维修任务类型1-内部整改 2-客户报障")
	private Integer workOrderType;

	@ApiModelProperty("重复故障")
	private List<Long> wxNumIds;

	@ApiModelProperty("电梯id")
	private Long elevatorId;

	@ApiModelProperty("部件ids")
	private String partsIds;

	private Long planId;

	/**
	 * 工作项id
	 */
	private Long templateContentId;
}
